/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

/**
 *
 * @author mehdi
 */
@Entity
public class AssessementL implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
     private Long Aslid;
  
   private String Hoal;
  
   private String Deal;
  
   private String CassL;
   
   private String UassL;
   private String DassL;
   
   @OneToMany(mappedBy="asml")
   public java.util.Collection<Issus> issus;
  @ManyToOne
   private Module modu;
    public AssessementL() {
    }

    public Module getModu() {
        return modu;
    }

    public void setModu(Module modu) {
        this.modu = modu;
    }
   
   
    public Long getId() {
        return Aslid;
    }

    public void setId(Long id) {
        this.Aslid = id;
    }

    public String getCassL() {
        return CassL;
    }

    public void setCassL(String CassL) {
        this.CassL = CassL;
    }

    public String getDassL() {
        return DassL;
    }

    public void setDassL(String DassL) {
        this.DassL = DassL;
    }

    public String getDeal() {
        return Deal;
    }

    public void setDeal(String Deal) {
        this.Deal = Deal;
    }

    public String getHoal() {
        return Hoal;
    }

    public void setHoal(String Hoal) {
        this.Hoal = Hoal;
    }

    public String getUassL() {
        return UassL;
    }

    public void setUassL(String UassL) {
        this.UassL = UassL;
    }

    public Collection<Issus> getIssus() {
        return issus;
    }

    public void setIssus(Collection<Issus> issus) {
        this.issus = issus;
    }

    
    @Override
    public int hashCode() {
        int hash = 0;
        hash += (Aslid != null ? Aslid.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof AssessementL)) {
            return false;
        }
        AssessementL other = (AssessementL) object;
        if ((this.Aslid == null && other.Aslid != null) || (this.Aslid != null && !this.Aslid.equals(other.Aslid))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "model.AssessementL[ id=" + Aslid + " ]";
    }
    
}
